﻿using MediatR;
using S.Y.Passport.ErroeCode;

namespace S.Y.Passport.Read.API.Applications.Commands
{
    public class GoodsAddCommand:IRequest<SyResult<object>>
    { 
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string Manufactory { get; set; }

        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int Validuntil { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string Licence { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Factory { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
